
<!DOCTYPE html>
<html lang="zh-cn">
  <head>

   <include file='public@head'/>

  </head>
  <body>
  
  
  <include file='public@header'/>

  <include file='public@left'/>
{$category.name}
  <!-- 分类 -->

  <volist name='product_category_list' id='item'>

    <!-- 链接 -->
    /product/{$item.id}

    <!-- 名称 -->
    {$item.name}

  </volist>


   <php>
        $where= function($query){
            $query->where('post.create_time','egt',0);
        };
        $page=[
            'list_rows'=>20,
            'next'=>'下一页',
            'prev'=>'上一页'
        ];
    </php>



<portal:product item="vo" where="$where" order="list_order,post.create_time DESC" page="$page" relation="categories" categoryId="$category.id" returnVarName="articles_data">

/productDetail/{$vo.id}

{:cmf_get_image_preview_url($vo.more.thumbnail)}

{$vo.post_title}

    {:mb_substr($vo['post_excerpt'],0,18,"utf-8")}

</portal:product>


<!-- 分页 -->
<page/>


<style type="text/css">

    .page li{list-style: none;display: inline-block;}
    .page li span,.page li a{    display: inline-block;
        font-family: Arial;
        font-size: 13px;
        border: #dbdbdb 1px solid;
        padding: 4px 9px;
        margin: 2px;
        margin-bottom: 5px;
        color: #898989;
        text-decoration: none;}
    .page .active span{background-color:#a21911;border:1px solid #a21911;color: #fff }

         </style>




   
    <include file='public@footer'/>



  </body>
</html>